Ensure thrown exception doesn't fail the builds

Make sure that possible exception thrown during recoring data into db don't fail whole build
or cause any other problems.
Example exeception which caused that no build wasn't able to start:

Caused by: com.mongodb.MongoException$Network: can't say something
 at com.mongodb.DBTCPConnector.say(DBTCPConnector.java:165)
 at com.mongodb.DBTCPConnector.say(DBTCPConnector.java:137)
 at com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:261)
 at com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:211)
 at com.mongodb.DBCollection.insert(DBCollection.java:57)
 at com.mongodb.DBCollection.insert(DBCollection.java:102)
 at
org.jenkinsci.plugins.buildanalysis.mongo.MongoBuildDAO.create(MongoBuildDAO.java:48)
 at
org.jenkinsci.plugins.buildanalysis.monitor.QueueListener.shouldSchedule(QueueListener.java:41)
 at hudson.model.Queue.schedule(Queue.java:438)
 at hudson.model.Queue.schedule(Queue.java:542)