Set a timeout when getting futures from state.