Main state exits after 10 seconds of running