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.
Yes, I know. This can easily achieved using once, given from lodash. It's on my roadmap to fix and improve 😊