ffplay: fix deadlock when shutdown