Anti-flooding sand reservoir