Update phpunit deps to 4.x version
Add type hint in setSharedMemory
Remove system resources only in destructor of master process
ProcessManager should not create new shared memory on process respawn