If you do not pick a time, nothing happens, and the user is returned to the app. This is by design.
If you need to capture that the user did not pick a time, you need a boolean flag in the aftertimeset event, e.g. true if time set, false if not (false being the default and reset value), then query the value of the flag, then reset.