removed temp close event on rpc object, added rpc:close event to server