Change spec so it doesn't freak out on multiple pg connections

The spec that checks that there's only one connection fails in different scenarios, including Travis and local machine. I suggest changing spec to checking that there're no connections created by worker instead, so it's less fragile due to concurrent runs. It also will help if somebody overloads PG to use connection pool transparently.