Needed to make QueueClient serializable too