Throttling

- throttling
- response handling
- refactoring
Change this to (as discussed, should be more readable):
```python
period = self.per
num_periods = int(time.time()) // period
period_start = num_periods * period
period_end = period_start + period
```