Handle clone of large repos
At the moment, the index will hang, causing locks on various tables. Should investigate a timeout for the git clone.
A suspicion that exacerbated this issue, a suspicion that:
- A long running request occurs
- The client disconnects
- An error/exception is thrown in the request
- The request teardown does not occur because of the disconnect
- The transaction/lock is left in-place in the database or is incorrectly committed?