Remove exit trap when build was successful