Fixed exception message when client closes. Fixes #45