fixed: race condition and possible crash while accessing rpclogfile
fixed: race condition and possible crash while accessing rpclogfile

ondra-novak/jsonrpcserver,ondra-novak/jsonrpcserver,ondra-novak/jsonrpcserver,ondra-novak/jsonrpcserver