Make compile
Cleanup
Close the right handles in appdeployer