Exit on escape key press