Solving a bug and adding flow rules timeouts