implemented regular connection pruning
Closes #82 (closed) by closing all existing connections to the database when a user requests a new token (every ~10 minutes) and is in read mode .
Note that this doesn't affect users in write mode, a future system will prevent these users from keeping open long connections.