Stop waiting for connected clients at shutdown