Added shutdown scenario in case of client/server shutdown