Update close to not block on shutdown

Closes #24

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
Merge pull request #25 from dmcgowan/close_wait

Update close to not block on shutdown