Fixed Bug where timeout of sessions wouldn't be cleaned properly.