Moved server listening into rpc execute.