You have 4 attempts to hack successfully. Try 3 times, bail out, then try again; repeat this process.