bootstrap
catch broken pipe