better connection test
job optimizations