Fix error in client shutdown time