Send pid to server.