mod_base: Fix for error which happens when setting up a ws times out.