Use a separate thread for log compression