[Process] Remove sleep callin favor of "php -r 'sleep()'" for windows compatibility
[Process] Tests end of pointer before reading them