moving connection end to last async task