Upstream `Puma` patches for scheduler fixes

Problem to solve

We should upstream the patches as presented in: !21547 (merged).

They seem to solve performance deficiency when comparing them to running Unicorn.

Context is described in:

Links / references