Used QUIT command instead of s.close()
Merge pull request #60 from eytoss/master_issue_50_quit_command

Used QUIT command instead of s.close()