Added an exception handler to the RPC server. Not sure if it will do any good, but still...