implement the blocking behaviour

Signed-off-by: Axel Davy <axel.davy@ens.fr>