mongo error 11000 handling