Removed uneeded initial task switch, as it would terminate early because it's the only task running.