Resolves #2910. Make apinger write its status file just after starting so that thing work as expected