main.rs shouldn't be responsible to dropping into an infinite loop