change error conditions under which pgsampler shutdowns and does not try to connect, when in network mode