added missinng check if sent yeah is in the future, clean shutdown with CTRL+C