TimeoutMS as Int32 variable not working properly

Because i want to use the default project timeout, not hardcoded default timeous for one particular activity. Is there a way to access this through code?