how to monitor switches and increase the polling time