Added block function.

If the connections is over a level, the host will be blocked.