test: assert false -> throw
lib/gearman: listen for disconnect, set connected=false