Why does this jsonrpc call get stuck?

I have go-ethereum running as a daemon and synced, but can't get a new address with curl, this is what I'm using in the command line:

curl --data-binary '{"jsonrpc":"2.0", "id":1, "method": "personal_newAccount", "params":["pass"] }' -H 'accept: application/json;' -H 'content-type: application/json;' http://localhost:8545 

After I run the command the terminal get's stuck and I have to press CTRL-C to get to the command prompt again.

Submitted October 05, 2018 at 05:03PM }
via reddit https://ift.tt/2Nr5tfY