Catch db command error on connect

Signed-off-by: José Luis Di Biase <josx@interorganic.com.ar>