Pending object should always be cleared when handling enter messages.
The ClientAgent should ignore messages from itself (proxied through the StateServer).