jsonrpc: only close the specified player (fixes #13936)