rename attempt() with try(). Closes #269