Some fixes incase sockets / redis are not there.