HIP-848 removing CloseApplication-related code, leaving the test
HIP-848 protecting sleep against keyboard interrupt
HIP-848 using infi.recipe.close_application