opening a non existent serial, throws an exception trying to close a non opened port!

Calling `.close()` on a closed port, raises an exception. This happens when you try to open a non existent port. This patch fixes.
@brugnara In whole module, I always threw strings as errors and never used the Error object. IMO, throwing an Error is an inconsistent behavior here. What do you think?