SLING-5756 - Async appender is not started upon reattach in case of log config change stop and start appender in detach and attach calls respectively. Copied RetryLoop from Sling Testing Tools