Attempt to timeout the connection if it doesn't close itself

Closes #37.