New input::stop_reading_thread() function Temporary workaround for the UNIX platform to stop the background reading thread and close the file descriptor This function will be removed in the next version