add delay on SQL connection