increased close delay to 500ms to accomodate slower devices