add handle for SIGTERM. TODO: refactor database connect as a singleton that closes on SIGTERM
add handle for SIGTERM. TODO: refactor database connect as a singleton that closes on SIGTERM

mailtohuy/codybo,mailtohuy/codybo,mailtohuy/codybo