Handle encoding error and skip sending the message
Merge pull request #60 from code-mancers/daemonize

Handle encoding error and skip sending the message