pub fn close_connections(user_id: u64) -> Result<()>
Close and clear database connections for a deregistered user.