Add explicit close_player method.