coding check_status timer for changing source status to offline