trim stdout data
non-infinite timeouts