Catch exceptions that might have been raised when writing to socket and close rpc channel if that happens.  Should fix spurious unhandled exceptions with beacon-search.
Catch exceptions that might have been raised when writing to socket and close
rpc channel if that happens.  Should fix spurious unhandled exceptions with
beacon-search.


git-svn-id: 9d763a2146cc7918956fa045a5de4b112f309167@4026 a8f5125c-1e01-0410-8897-facf34644b8e

freevo/kaa-base,freevo/kaa-base