Close idle connections to release RAM

Close idle connections after 30s of inactivity to release RAM.
Savings: ~0.4mb on marlin

Bug: 63398887
Test: reboot and dumpsys meminfo system
Change-Id: I39aa1fef9ae9850564a13891cb89c27cb805d683
2 files changed