additional tests for closing underlying socket