Fixed bug where operations could change in the middle of a transaction and therefor kill the current connection. Now when a transaction begins the class will lock onto a write server and use that connection until the transaction ends.