Attempt to fix taking request concurrency

Merged Ruben Backx requested to merge attempt-at-fixing-take-request-concurrency into development

Changes the order of taking a request from:

  1. start transaction
  2. lock
  3. do the thing
  4. unlock (now someone else can take the same request)
  5. end transaction

to

  1. lock
  2. start transaction
  3. do the thing
  4. end transaction
  5. unlock
Edited by Ruben Backx

Merge request reports