handle error of redis session fails