remove unecessary code
fix tests to check redis implementation
refactor to execute sync process on only one worker using less control flags
fix code indentation
remove old entries from database
reusing the remove_cache_entry function on sync process
change some functions signatures
refactor to keep redis context open as much as open
using the log from ngx_cycle
using single connection on tests
refactor on cleanup and close context functions