Leakage Detection and Prevention in Vacuum Systems