Do audit logging in separate thread