Restart worker when RemoteException occurs.