close /dev/null when build process is done