Gitlab-CI times out whenever a process runs in background

Summary

Any Gitlab CI script with a running process on background, such as a process started on the before_script section, freezes the job. It gets a timeout because it never finishes.

Steps to reproduce

Run a process on before_script and see how the main script never finishes.

Environment description

Gitlab runner 10.4.0 Kubernetes executor.