close() properly when triggered in connection handler

Addresses issue #225. Memory leak, yes, but more an edge case based on how init code was ordered.