Cast workerServer as remote object