Error handling when the connection fails. #6

I've just added a simple error throwing to avoid the app to crashes when the MPD daemon is not running.
I'm not actually aware of the best practises to throw error so might need to correct accordingly.
Thanks