make sure write_timeout and local_infile ivars are setup to avoid warnings
get rid of some more warnings
clean up connections in specs where we can
some more spec cleanup