Fixed a potential deadlock in SynchronousPreparedStatement#pipeline