Began adding queing of messages if there is no database connection.