Also modifying .gitlab-ci file to push docker image to the registry
When we shut down the server, the redis subscription is not closed cleanly leading to the server to hang. Adding an error handler solves for this issue.