if you create a, instance then a connection object, then destruct them both, a connection to the mongodb server remains in a TIME_WAIT state.