Better error handling in RPC executor.
Signed-off-by: Dmitriy Pavlenko <dmitriy.pavlenko@sysgears.com>