If you go to Configuration/User Management/Groups.
Select the group associated with the L2L tunnel.
Modify Group/General/Idle Timeout.
You can set the tunnel to never timeout = 0
or specify the length of time that the tunnel will take to die if there is no interesting traffic.
Cheers,
Steve