Added a job cleanup for check_login_status() so that jobs don't pile up.