Catch a null pointer exception that is thrown sometimes when sending messages