Fixed an issue with hanging post build process