fix race when service doesnt open application.log fast enough

@Primer42 here is the fix we spoke about.