Added gracefull shutdown via port 8081