shut player down gracefully