Fix crash within transactions with timeout (#16)

The crash happened when executing a statement yielding an error and
with a timeout value (not infinity). The statements sent by the driver
to change statement_timeout value failed with an error message which
was not properly handled.