Lost Connection Recovery

- Added procedures to reconnect to SQL server