These 3-second timeouts are probably too low if there is GC; would be better to do 20-30s