mod_base: use erlang:send_after instead of timer for dynamic processes. Fixes #538