Don't delay reception of signal

- new code may help undersdtand issue #1108
  (https://github.com/zeromq/libzmq/issues/1108)
- code cleanups
Merge pull request #1120 from hurtonm/master

Don't delay reception of signal