Man tries to blow up ATM