pub async fn with_timeout<F, T>(future: F, timeout_secs: u64) -> Result<T>where F: Future<Output = Result<T>>,
Execute a future with a timeout