Improve error handling on pg queue implementation.
Improve loggin on handlers module.