Handle the case where the pdf metadata cannot be decoded to ascii by the daemon
Remove absolete signal and fix #27