Use only one set of connections per worker process

Verified that the connections are being closed during
both ctrl-c shut down of the master worker and also
when the tasks are revoked + terminated. Also expliclty
kill the query on worker termination anyway

Change-Id: I46c1f25f2b572518906f90062db4cd91d7732716