Stop polling to be able to quit the cli