Executing the program with -h as argument makes it run in background