/// <summary>
/// Instructs the simulator to stop sending update (and possibly other) packets
/// </summary>
public void Pause()
{
AgentPausePacket pause = new AgentPausePacket();
pause.AgentData.AgentID = Client.self.getAgentID();
pause.AgentData.SessionID = Client.self.getSessionID();
// pause.AgentData.SerialNum = (uint)Interlocked.Exchange(ref pauseSerial, pauseSerial + 1);
pause.AgentData.SerialNum = pauseSerial.getAndIncrement();