Fixed error in SQL and added socket timeout

Fixed the time that is passed to the insert SQL instruction

Added a value to the Socket.ReceiveTimeout Property on sntp.dll