Try to fix intermittent deadlocks with encoding servers.