Refactor online awaiting to separate function

Created by  O01eg  on October 30, 2018
H5FNCGYJ27RKRBFSGTUXTBN2TA5AMIDTDLEOVCD2T2FPIRSTWH5AC
Change contents