pbrpc: minor fix and improvment

These fixes use the new functionality of ListDictionary in FreeRDP:
* properly clean up ListDictionary and Queue (on exit)
* immediately return rpc call when connection is lost
* handle a special case in method calls