Added connection argument to get_current_job()