Handles disconnects according to the tests…