Insert a delay to make sure the QUIT message arrives (#2018).