monitor: prevent calling receive once the socket being monitored has been destroyed
Allow ruby-head travis build to fail; there is a bug with bundler in travis:

https://github.com/travis-ci/travis-ci/issues/1195