fixes for encoding issues with stderr.
ssh connection will close after build finished.
timeout will change after build finished