change exceptions and fixed race condition
change exceptions and fixed race condition

The call to `can_query_state_for_block` can not guarantee that when the
call is done the block is not prunned, because the ethereum client may
mine a new block after the call, therefore this should never be used and
we must only rely on the error from the JSON RPC spec.

hackaugusto/raiden,hackaugusto/raiden