fix failure of index for not existent rid in case of distributed.
Fixed issue #3037 by closing socket
Merge pull request #6 from orientechnologies/1.7.10

Pull from orient 1.7.10 - p2 fix for connection monitoring holding up for 15 seconds