Exit application on 'exit'