How the main thread keeps on running unlike other threads which terminates after executing their task.?