Modify so that the callback can return false to stop getInput()