check for $blocking instead of Function type