Fixed thread safe issues caused by use of ActorContext

"ActorContext is not thread-safe and shouldn't escape to other threads" . Viktor Klang