Avoid NPEs when JUnit accesses mSerializer after the LogWatcher called closeThrows()