Wrap failure block call in check

Fix #50