Fix #347 Terrible performance of FutureAction and ActorAction