add a delay until the stop command is called