Added hook to check if the LE 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