davidpersson/beanstalk — Issue #1: Each write is a disconnect.
Author: LeonFedotov
Created: 2011-10-12 01:10:06+00:00
State: open

So essentially in the _write function you check for a connection by invoking the connect function which in turn proceeds to reconnect(disconnect if a connection is present) you each call, isn't that bad?