added exception handling to chat service manager for standalone mode