implemenet @block_reentrance decorator
#744
+181
−6
Merged