added test to remove connection from poller