add connect to ap with timeout