Added a hook to check to see if the queue is empty.

We were having an issue where our app shutdown wasn't recorded because of the background thread nature of the LogEntries writer.

I also added support in case there were multiple LogentriesAppender created