Avoid warning when catching signal with pcntl_signal()

Creating a temporary error handler when selecting/accepting a stream to avoid warning messages, caused by catching a signal with function `pcntl_signal()`.

See issue : https://github.com/reactphp/react/issues/296