Towards fixing blocking input.
Hack to make it work (for now).