ensure closing the filedescriptors on error when in a multi command
better write-test on reused connections

which is non-blocking and honors the configured tcp timeout