Imploding shocks in a non-ideal medium