fix tests
close connection that was missed