Why are you synchronizing this block?  `Thread.current[:current_connection]` would be distinct for each thread, so there isn't any sort of a resource conflict here.