implement the blocking option
Merge pull request #13 from massemanet/_blocking

implement the blocking option