first successfull ping loop