I usually run
dfx start in the foreground in a dedicated terminal, on Ubuntu Linux. When I stop the process and try to start it up again relatively soon after stopping (sometimes multiple seconds) I often get this error:
Address in use (os error 98).
It would be nice if it could clean itself up more quickly, just for a better developer experience.