Removed pcntl signal handler