Implement pause/resume feature