Added close_with option
Linted
Added test
Added docs
Merge pull request #11 from mllocs/master

Added close_with option