A print_status before send_request_cgi, clarifying you're deleting the scheduled task would be useful