Added select now to keep connection alive