Process chunk compression in non network thread.