fixing rpc thread settings