Add safety check in check_pause