Adds blocking routines on rack middleware