Finite correlation time effects in nonequilibrium phase transitions