break build into separate thread