Removed non thread-safe user code from service