Add timeout option to selected connection and make default 5 seconds