do not close connection on MongoServerException
support $ (query)
fix datasize calculation in updates of nested documents