close TCP connections properly on exception. #415
Merge branch '020' of github.com:Graylog2/graylog2-server into 020
version check. fixes #295