finish the pause/resume