JARVIS-342 Fixed issue with app leak