fix strange mongoose bug
fix possible error in post remove hook
add method to close connection
v0.0.7