Yes, absolutely. If you do not do that, your pasta will continue cooking with its own heat so you will end up with sticky and overcooked pasta.