Trivial bug fix - conversion between milliseconds and nanoseconds.
When request in tx throws exception, the tx should be ended immediatelly