Bug fix in sql string, also added socket number
Added get_timers to the usable functions