Receive Status.Failure only after resourceReceive. Fixes #27

Moved the `Status.Failure` case into a private method and added it to the end end of the `receive` chain. Tests are included.