Handle errors returned by Close(), if any.

Since the Close() function seems to be a callback that happens during end of data, shouldn't s.sendlinef("250 2.0.0 Ok: queued") be done only after handling any errors that the User wants to return from Close()?
Merge pull request #5 from pranavrc/master

Handle errors returned by Close(), if any.