fixed write pooling release. This makes writes work for master/slave MyS...

...QL setups