Workaround for setTiemout in background tabs

This PR is a momentary workaround for #4