Catch missing profile in restatus
Create api lock on the fly
Except value error
Don't use nonblock requests results if empty
Better reload hook name
Rework restart methods
Close all attached after start
Merge branch 'refs/heads/develop'